<div data-dojo-type="my.form.TransferForm" id="transferForm" data-dojo-id="transferForm" encType="multipart/form-data" action="transferAction" method="POST">
	<table>
		<tr>
			<td><label for="account">Mine Account:</label></td>
    		<td>
				<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-id="userAccountStore" data-dojo-props="url:'getRachsAction.action'"></div>      	
				<input id="userAccountDropDown" data-dojo-attach-point="userAccountDropDown" data-dojo-type="dijit.form.FilteringSelect" data-dojo-props="store:userAccountStore, autoComplete:true, name:'out.id',searchAttr:'name',required:true"></input>
    		</td>
		</tr>
		<tr>
			<td><label for="transfer">Transfer Account:</label></td>
    		<td>
				<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-id="userTransferAccountStore" data-dojo-props="url:'getAllRachsToTransferToAction.action'"></div>      	
				<input id="transferDropDown" data-dojo-attach-point="transferDropDown" data-dojo-type="dijit.form.FilteringSelect" data-dojo-props="store:userTransferAccountStore, autoComplete:true, name:'incoming.id',searchAttr:'name',required:true"></input>
    		</td>
		</tr>
		<tr>
			<td><label for="title">Title:</label></td>    	
			<td><input type="text" name="title" value="" required="true" data-dojo-type="dijit.form.TextBox" data-dojo-props="name:'title'" id="title" data-dojo-attach-point="title"></td>
		</tr>
		<tr>
			<td><label for="receiverName">Receiver details:</label></td>    	
			<td><input type="text" name="receiverName" value="" required="true" data-dojo-type="dijit.form.TextBox" data-dojo-props="name:'receiverName'" id="receiverName" data-dojo-attach-point="receiverName"></td>
		</tr>
		<tr>
			<td><label for="title">Confirmation code:</label></td>    	
			<td><input type="password" name="confirmationCode" value="" required="true" data-dojo-type="dijit.form.TextBox" data-dojo-props="name:'confirmationCode'" id="confirmationCode" data-dojo-attach-point="confirmationCode"></td>
		</tr>
		<tr>
			<td><label for="availableResources">Available resources:</label></td>    	
			<td><input type="text" name="resourcesValue" value="" required="false" data-dojo-type="dijit.form.NumberTextBox" data-dojo-props="name:'resourcesValue', disabled: 'true'" id="resourcesValue" data-dojo-attach-point="resourcesValue"></td>
		</tr>
		<tr>
			<td><label for="transferResources">Transfer resources:</label></td>    	
			<td><input type="text" name="transferResources" required="true" data-dojo-type="dijit.form.NumberTextBox" constraints="{min:0, places:'0,3'}" data-dojo-props="name:'cash'" id="transferResources" data-dojo-attach-point="transferResources"></td>
		</tr>
		
	</table>
	
	<br/>
	
	<table width="100%">
		<tr>
			<td align="left"><button data-dojo-type="dijit.form.Button" data-dojo-props="iconClass:'dijitIconSave', showLabel: true" type="submit">Save</button></td>
			<td align="right"><button data-dojo-type="dijit.form.Button" data-dojo-props="iconClass:'dijitIconDelete', showLabel: true" type="button" onClick="dijit.byId('transferDialog').hide()">Cancel</button></td>
		<tr>
	</table>

</div>